package com.study.example.gameserver.module.scene.entity.impl;

import com.sparrow.common.aoi.domain.EntityType;
import com.sparrow.common.map.Position;
import com.study.example.gameserver.module.scene.entity.IEntity;

public class DropItem implements IEntity {
    private long id;
    private Position pos;
    private int mapId;
    private int sceneId;
    private int lineId;
    private int angle;
    private int aoiX;
    private int aoiY;

    private int goodsId;
    private int goodsNum;

    @Override
    public int getMapId() {
        return mapId;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return id;
    }

    @Override
    public void setMapId(int mapId) {
        this.mapId = mapId;
    }

    @Override
    public int getSceneId() {
        return sceneId;
    }

    @Override
    public void setSceneId(int sceneId) {
        this.sceneId = sceneId;
    }

    @Override
    public int getLineId() {
        return lineId;
    }

    @Override
    public void setLineId(int lineId) {
        this.lineId = lineId;
    }

    @Override
    public Position getPos() {
        return pos;
    }

    @Override
    public void setPos(Position pos) {
        this.pos = pos;
    }

    @Override
    public int getAngle() {
        return angle;
    }

    @Override
    public void setAngle(int angle) {
        this.angle = angle;
    }

    @Override
    public long getAOIId() {
        return id;
    }

    @Override
    public int getAOIX() {
        return aoiX;
    }

    @Override
    public void setAOIX(int x) {
        this.aoiX = x;
    }

    @Override
    public void setAOIY(int y) {
        this.aoiY = y;
    }

    @Override
    public int getAOIY() {
        return this.aoiY;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    @Override
    public EntityType getEntityType() {
        return EntityType.DROP_ITEM;
    }
}
